package chapter_02_principle.p2;

import java.util.AbstractList;
import java.util.ArrayList;

/**
 * @author yaochenglong
 * @date 2017/10/19
 */
public class Parent {

    /**
     * 输入类型为 ArrayList,
     * 输出类型为 AbstractList
     */
    public AbstractList<String> list(ArrayList<String> list){
        System.out.println("parent invoke...");
        return new ArrayList<>();
    }
}
